package com.wrx.club_management_backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wrx.club_management_backend.dto.DepDTO;
import com.wrx.club_management_backend.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User> searchUsers(@Param("keyword") String keyword,
                           @Param("searchMode") String searchMode);


    List<Map<String, Object>> checkSnosRegistrationStatus(@Param("snos") List<String> snos);


    List<DepDTO> listDep();

}
